/*
 * @文件描述:
 * @公司: 山东大学信息学院
 * @作者: shangximing
 * @Date: 2019-11-12 13:23:22
 * @LastEditors: shangximing
 * @LastEditTime: 2019-11-13 16:42:14
 */
import { StyleSheet } from 'react-native';
import { size } from '@/config';
const { px } = size;

export const workList = [
  {
    src: require('@/assets/image/transaction/icon1.png'),
    title: '订单管理',
  },
  {
    src: require('@/assets/image/transaction/icon2.png'),
    title: '商品管理',
  },
  {
    src: require('@/assets/image/transaction/icon3.png'),
    title: '基础信息',
  },
  {
    src: require('@/assets/image/transaction/icon4.png'),
    title: '采购市场',
  },
  {
    src: require('@/assets/image/transaction/icon5.png'),
    title: '账户中心',
  },
  {
    src: require('@/assets/image/transaction/icon5.png'),
    title: '评价中心',
  },
  {
    src: require('@/assets/image/transaction/icon7.png'),
    title: '数据报表',
  },
  {
    src: require('@/assets/image/transaction/icon8.png'),
    title: '规则中心',
  },
];

export const styles = StyleSheet.create({
  rectangle: {
    width: px(45),
    height: px(45),
    margin: 'auto',
  },
  line: {
    flexDirection: 'row',
  },
  line2: {
    flexWrap: 'wrap',
    flexDirection: 'row',
    justifyContent: 'center',
    marginTop: px(10),
  },
  item: {
    width: '30%',
    justifyContent: 'center',
    alignItems: 'center',
  },
  item2: {
    marginTop: px(12),
    width: '25%',
    justifyContent: 'center',
    alignItems: 'center',
  },
  desc: {
    marginTop: px(5),
    fontFamily: 'PingFang SC',
    fontStyle: 'normal',
    fontSize: px(12),
    lineHeight: px(17),
    textAlign: 'center',
    color: '#7A7F83',
  },
  desc2: {
    marginTop: px(5),
    fontFamily: 'PingFang SC',
    fontStyle: 'normal',
    fontSize: px(12),
    lineHeight: px(17),
    textAlign: 'center',
    color: '#333333',
  },
  dData: {
    fontFamily: 'PingFang SC',
    fontStyle: 'normal',
    fontWeight: '600',
    fontSize: px(16),
    lineHeight: px(22),
    color: '#333333',
    textAlign: 'center',
  },
  firstLine: {
    width: px(158),
    height: px(50),
    flexDirection: 'row',
  },
  bg: {
    backgroundColor: '#F2F2F2',
  },
  info: {
    margin: px(12),
    height: px(559),
    flex: 1,
    alignContent: 'center',
  },
  cardOne: {
    alignContent: 'center',
    height: px(188),
    backgroundColor: '#FFFFFF',
    borderColor: '#FAFAFA',
    borderStyle: 'solid',
    borderRadius: px(6),
    marginBottom: px(23),
  },
  cardTwo: {
    alignContent: 'center',
    height: px(230),
    backgroundColor: '#FFFFFF',
    borderColor: '#FAFAFA',
    borderStyle: 'solid',
    borderRadius: px(6),
    marginBottom: px(20),
  },
  cardTitle: {
    width: '85%',
    margin: px(12),
    fontFamily: 'PingFang SC',
    fontStyle: 'normal',
    fontWeight: '600',
    fontSize: px(16),
    lineHeight: px(22),
    color: '#000000',
  },
  vector: {
    marginTop: px(12),
    marginRight: px(12),
    width: px(20),
    height: px(20),
  },
  hrOne: {
    height: px(1),
    width: '100%',
    backgroundColor: '#E4E4E4',
  },
  hrTwo: {
    marginTop: px(12),
    marginLeft: '3%',
    height: px(1),
    width: '94%',
    backgroundColor: '#E4E4E4',
  },
  avatar: {
    width: px(30),
    height: px(30),
  },
  title: {
    width: px(300),
    marginLeft: px(5),
    marginTop: px(5),
    fontFamily: 'PingFang SC',
    fontStyle: 'normal',
    fontWeight: '600',
    fontSize: px(16),
    lineHeight: px(22),
    letterSpacing: px(-0.313529),

    color: '#000000',
  },
  header: {
    width: '100%',
    height: px(45),
    backgroundColor: '#FFFFFF',
    flexDirection: 'row',
    justifyContent: 'center',
    alignContent: 'center',
    alignItems: 'center',
  },
  headerTitle: {
    fontFamily: 'PingFang SC',
    fontStyle: 'normal',
    fontWeight: '600',
    fontSize: px(18),
    lineHeight: px(24),
    letterSpacing: px(-0.313529),
    color: '#000000',
  },
});
